# Contributor: Carlo Landmeter <clandmeter@gmail.com>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=py3-dialog
pkgver=3.5.1
pkgrel=0
pkgdesc="A Python3 interface to the UNIX dialog utility and mostly-compatible programs"
url="http://pythondialog.sourceforge.net/"
arch="noarch"
license="LGPL-2.1-only"
depends="dialog"
makedepends="python3-dev binutils py3-setuptools"
source="https://downloads.sourceforge.net/project/pythondialog/pythondialog/$pkgver/python3-pythondialog-$pkgver.tar.bz2"
builddir="$srcdir"/pythondialog-$pkgver

build() {
	python3 setup.py build
}

check() {
	python3 setup.py check
}

package() {
	python3 setup.py install --prefix=/usr --root="$pkgdir"
}

sha512sums="f032e425ce1ebac53ade1401e48625b5869497367f788831d08fd22eb3b3b14fa5aebd26fd3681b47222ef0247ebb5c1ead127f111ca296197e258650dd675ad  python3-pythondialog-3.5.1.tar.bz2"
